<?php

require_once "core/application/models/msettings/msettings1.php";

class Msettings2 extends Msettings1 {

    private $_query;

    protected function oneRecord($id) {
        /**
         *  Показывает одну настройку
         * @param int $id
         */
        DB::getInstance()->openConnectionToGS();
        $this->_query = "SELECT * FROM `personal_settings` WHERE `id` = '$id' ";
        return DB::getInstance()->sql($this->_query);
        DB::getInstance()->closeConnection();
        unset($this->_query);
    }

}

?>
